<div id="page-content" class="clearfix">
			
			<h1>Articles</h1>
			
			<h2>Add new article <span>(short description)</span></h2>
			
			<?php if($error == 'no'){?>
			<div class="success">Article successfully saved!</div>
			<?php }else if($error == 'yes'){ ?>
			<div class="error">Error! Article not saved!</div>
			<?php }else{ ?>
			<!--no error -->
			<?php } ?>
			
			<div class="inner-box clearfix">
			
				<!--<div id="sidebar">
				
					<ul>
						<li class="head">Sidebar title</li>
						<li><a href="#">Menu item 1</a></li>
						<li><a href="#">Menu item 2</a></li>
						<li class="current"><a href="index.html">Form template layout</a></li>
						<li><a href="table.html">Table template layout</a></li>
						<li><a href="#">Menu item 5</a></li>
						<li><a href="#">Menu item 6</a></li>
						<li><a href="#">Menu item 7</a></li>
						<li><a href="#">Menu item 8</a></li>
					</ul>				
				
				</div>-->
			
				<div id="form-block">

					<form action="<?=$content['article_id']?>" method="post" accept-charset="utf-8">
				
					<label for="title">Article Title</label>
					<input type="text" name="title" id="title" class="medium" value="<?=$content['title']?>" />
					<em><?php echo form_error('title'); ?></em>
					
					<label for="content">Content</label>
					<textarea name="content" rows="7" cols="3" id="content" ><?=$content['content']?></textarea>
					<em><?php echo form_error('content'); ?></em>
					
					<label for="excerpt">Excerpt</label>
					<textarea name="excerpt" rows="3" cols="3" id="excerpt" ><?=$content['excerpt']?></textarea>
					<em><?php echo form_error('excerpt'); ?></em>
					
					<label for="status">Status</label>
					<select name="status" class="short" id="status">
						<option value="<?=$content['status']?>">Current</option>
						<option value="live">Live</option>
						<option value="hidden">Hidden</option>
					</select>
					<em><?php echo form_error('status'); ?></em>
					
					<br />
					<input type="submit" class="submit" value="Submit" />
					<input type="button" class="submit reset" value="Cancel" onclick="location.href='<?=base_url();?>admin/articles';" />
				
				</div>
			
			</div>